import request from '../request'

// 查询分类菜单
export const queryCategory = () => request({ url: '/category' })

// 查询分类菜单列表
export const querySubCategory = (maitKey) =>
  request({ url: `/category/subcategory/${maitKey}` })
